select'' "ANAG_TERNI CODICE VIA errato", a.* from (
select a.*,e.elet_id  from  asm_anagrafe_terni a,sic4u_ambterni2.v_eletopo@tiaprd e
where a.codice_via = e.elet_id(+)
and     e.com_id(+)=55032) A
where 
elet_id is null